/**
 * 用户相关的请求
 */
import Urls from '../ApiUrls';
import ApiBase from './ApiBase';

class ApiUser {
  getUserList(parms){
    return ApiBase.send(Urls.URL_GET_USER_LIST,parms);
  }
  exportUser(parms){
    return ApiBase.send(Urls.URL_EXPORT_USER,parms);
  }
  getUserAddress(parms){
    return ApiBase.send(Urls.URL_GET_USER_ADDRESS,parms);
  }
  getShoppingCart(parms){
    return ApiBase.send(Urls.URL_GET_SHOPPING_CART,parms);
  }
  getUserOrders(parms){
    return ApiBase.send(Urls.URL_GET_USER_ORDERS,parms);
  }
  getLoginRecords(parms){
    return ApiBase.send(Urls.URL_GET_LOGIN_RECORDS,parms);
  }
  getUserInfo(parms){
    return ApiBase.send(Urls.URL_GET_USER_INFO,parms);
  }
  exactQueryUsers(parms){
    return ApiBase.send(Urls.URL_EXACT_QURERY_USER, parms);
  }
  saveNote(parms){
    return ApiBase.send(Urls.URL_SAVE_USER_NOTE, parms);
  }
  deleteNote(parms){
    return ApiBase.send(Urls.URL_DELETE_USER_NOTE, parms);
  }
  activeUser(parms){
    return ApiBase.send(Urls.URL_ACTIVE_USER, parms);
  }
  verifyingUser(parms){
    return ApiBase.send(Urls.URL_GET_VERIFYING_USER, parms);
  }
  userVerifyingInfo(parms){
    return ApiBase.send(Urls.URL_USER_VERIFYING_INFO, parms);
  }
  verifyDone(parms){
    return ApiBase.send(Urls.URL_VERIFY_DONE, parms);
  }
  batchVerifyDone(parms){
    return ApiBase.send(Urls.URL_BATH_VERIFY_DONE, parms);
  }
  unMatchedUser(parms, timeout){
    return ApiBase.send(Urls.URL_UN_MATCHED_USER, parms, timeout);
  }
  userMatchList(parms){
    return ApiBase.send(Urls.URL_USER_MATCH_LIST, parms);
  }
  userToTargetCustomer(parms){
    return ApiBase.send(Urls.URL_USER_TO_TARGET_CUSTOMER, parms);
  }
  getUserContactInfo(parms){
    return ApiBase.send(Urls.URL_USER_CONTACT_INFO, parms);
  }
  getUserEmployee(parms) {
    return ApiBase.send(Urls.URL_USER_EMPLOYEE_LIST,parms);
  }
  queryUsersOfCurrentEmployee(parms){
    return ApiBase.send(Urls.URL_QURERY_USERS_OF_CURRENT_EMPLOYEE, parms);
  }
  assignUserToEmployee(parms){
    return ApiBase.send(Urls.URL_ASSIGN_USERS_TO_EMPLOYEE, parms);
  }
  readAllMessage(parms){
    return ApiBase.send(Urls.URL_READ_MSG, parms);
  }
  proxyAdEmails() {
    return ApiBase.send(Urls.URL_PROXY_AD_EMAILS);
  }
  getProxyAdEmails() {
    return ApiBase.send(Urls.URL_GET_PROXY_AD_EMAILS);
  }
}
export  default  ApiUser
